current potential difference and resistance